package com.aispeech.asr.apis.ssc.data.domain;

import java.util.ArrayList;
import java.util.List;

public class VadResult {
    private int code;
    private List<VadState> stateOffsetList;

    public VadResult() {
    	stateOffsetList = new ArrayList<>();
    }

    public int size() {
        return stateOffsetList.size();
    }

    public VadState get(int i) {
        return stateOffsetList.get(i);
    }

    public List<VadState> getStateOffsetList() {
        return stateOffsetList;
    }

    public void setStateOffsetList(List<VadState> stateOffsetList) {
        this.stateOffsetList = stateOffsetList;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public enum State {SIL, SPEECH}
}
